import { createApp } from 'vue'
import App from './App.vue'

//引入通用样式，浏览器的表现是一致的
import 'normalize.css'

//引入项目中一些通用样式
import '@/assets/styles/common.less'

// 导入路由
import router from '@/router/index'

//导入pinia
import { createPinia } from 'pinia'

//在全局注册插件
import XtxUI from './components'

const pinia = createPinia()
const app = createApp(App)
app.use(router)
app.use(XtxUI)
app.use(pinia)
app.mount('#app')
